<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>发送邮件测试</title>
</head>
<body>
<form action="sendMailApi">
    <label>收件人</label>：<input type="text" name="sendTo"><input type="submit">
    <label class="msg" style="color: red;" th:text="${msg}"></label>
</form>
</body>
</html>